package com.dingding.user.core.passenger.coupon.dao;

import java.util.List;

import com.dingding.common.core.beans.UserCoupon;

/**
 * 
 * @Description:
 * @author CHEHUANBO
 * @date 2016年12月13日
 * 
 */
public interface IUserCouponDao {

	/**
	 * 
	 * @Description: 获取用户有效优惠券
	 * @author CHEHUANBO
	 * @version V2.6.2
	 * 
	 */
	public List<UserCoupon> getUserCoupon(String userId) throws Exception;
	
	
	
	
	/**
	 * 
	 * @Description: 添加用户优惠券
	 * @param userCoupon
	 * @author CHEHUANBO
	 * @version V2.6.2
	 * 
	 */
	public void addUserCoupon(UserCoupon userCoupon) throws RuntimeException;
	
	
	/**
	 * 
	 * @Description: 锁定优惠券
	 * @throws RuntimeException
	 * @author CHEHUANBO
	 * @version V2.6.2
	 * 
	 */
	public void lockUserCoupon(String couponId) throws RuntimeException;

}
